Skip to content

Conversation

@shubham220420
Copy link
Contributor

Progresses: #9416

Description

What is the purpose of this pull request?

This pull request:

  • This PR adds the mean calculation for half-normal distribution function.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

Yes I took help of AI for creating test cases under the fixtures/julia directory.

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels Jan 7, 2026
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Jan 7, 2026

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/halfnormal/mean $\color{green}166/166$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}166/166$
$\color{green}+0.00%$

The above coverage report was generated for the changes in this PR.

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagged a bunch of issues.

@Planeshifter Planeshifter added Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Jan 7, 2026
@shubham220420
Copy link
Contributor Author

shubham220420 commented Jan 7, 2026

thankyou for your reviews sir @Planeshifter , I have applied the requested changes.
Incase any lint error occurs I'll solve it, I've been working on this module from quite few hours now, and will look further tomorrow

@Planeshifter Planeshifter changed the title feat!: add implementation of halfnormal/mean feat: add implementation of halfnormal/mean Jan 7, 2026
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your continued efforts! Should be ready to land soon.

@shubham220420
Copy link
Contributor Author

I have applied the requested suggestion sir.

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few last comments.

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: failed
---
@shubham220420
Copy link
Contributor Author

shubham220420 commented Jan 10, 2026

Hey sir I have applied the requested changes.

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jan 10, 2026
Signed-off-by: Shubham <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Changes Pull request which needs changes before being merged. Needs Review A pull request which needs code review. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants